﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace PolarExpress.Model.Interfaces
{
    public interface IModel
    {
        event ModelChangedHandler ModelChanged;
    }

    public delegate void ModelChangedHandler(object sender, ModelChangedEventArgs args);

    public class ModelChangedEventArgs : EventArgs
    {
        public readonly IModel Model = null;

        public ModelChangedEventArgs(IModel model)
        {
            Model = model;
        }
    }
}
